package com.lyj.mall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyj.mall.pojo.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author  lyj
 * @date  2019/12/17 23:33
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    int deleteByPrimaryKey(Integer id);

    @Override
    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User findUserByUsername(String userName);
}